home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / C / Comet2.1.3.cpt / 3270XCMD / TNdrvr.r < prev    next >
Text File  |  1989-08-17  |  876b  |  33 lines

  1. /*
  2.  * bridgeDA.r
  3.  *
  4.  * Copyright 1988 Cornell University
  5.  */
  6.  
  7. #include "Types.r"    
  8. #include "MPWTypes.r"    
  9.  
  10. type 'DRVR' as 'DRVW';
  11.  
  12. #define DriverID    28
  13.  
  14. resource 'DRVR' (DriverID, "\0x00.TNdrvr", sysheap, locked) {
  15.     dontNeedLock,            /* OK to float around, not saving ProcPtrs */
  16.     dontNeedTime,            /* No, dont give us periodic Control calls */
  17.     dontNeedGoodbye,        /* No special requirements */
  18.     noStatusEnable,
  19.     ctlEnable,                /* Desk accessories only do Control calls */
  20.     noWriteEnable,
  21.     noReadEnable,
  22.     0,                        /* drvrDelay - Wake up AFAP */
  23.     updateMask,             /* drvrEMask - This DA only handles update events */
  24.     0,                        /* drvrMenu - This DA has no menu */
  25.     ".TNdrvr",                /* drvrName - This isn't used by the DA */
  26.     /*
  27.      * This directive inserts the contents of the DRVW resource
  28.      * produced by linking DRVRRuntime.o with our DA code
  29.      */
  30.     $$resource("TNdrvr.DRVW", 'DRVW', 0)
  31. };
  32.  
  33.